package ltd.hxya.novel.crawl.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import ltd.hxya.novel.common.bean.BaseEntity;
import ltd.hxya.novel.crawl.entity.CrawlRule;

import java.time.LocalDateTime;

@Data
public class CrawlVo extends BaseEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "源站名")
    private String sourceName;


    @ApiModelProperty(value = "爬虫源状态，0：关闭，1：开启")
    private Boolean sourceStatus;

    private CrawlRule crawlRule;

}
